<?php

require("include/session.inc");
require("include/functions.inc");

session_unset();
session_destroy();

setcookie("check_email", "", time()-10800, "/", "", 0);
setcookie("check_hash", "", time()-10800, "/", "", 0);
setcookie("check_user", "", time()-10800, "/", "", 0);
setcookie(session_name(), "", time()-10800, "/", "", 0);

header("location:index.php");
exit;
?>